package com.linewell.license.demo.vo;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author
 * Company:
 * Createtime : 2019/8/15 12:00
 * Description :
 */
public class MenuVo {
    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称" , required = true)
    private String name;

    /**
     * 图片
     */
    @ApiModelProperty("菜单图标")
    private String image;
    /**
     * 菜单url
     */
    @ApiModelProperty("菜单url")
    private String url;
    /**
     * 权限
     */
    @ApiModelProperty("菜单权限")
    private String role;
    /**
     * 权限
     */
    @ApiModelProperty("权限")
    private String permission;
    /**
     * 子菜单
     */
    @ApiModelProperty("子菜单")
    private List<MenuVo> children;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public List<MenuVo> getChildren() {
        return children;
    }

    public void setChildren(List<MenuVo> children) {
        this.children = children;
    }

}
